package com.jmb.service.Impl;

import com.jmb.mapper.PlaceMapper;
import com.jmb.po.Place;
import com.jmb.service.PlaceService;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;

@Service
public class PlaceServiceImpl implements PlaceService {
    @Resource
    private PlaceMapper placeMapper;
    @Override
    public List<Place> findPlaceByVid(Integer vid) {
        List<Place> places = placeMapper.findPlaceByVid(vid);
        return places;
    }
}
